package com.atguigu.eduservice.entity.execl;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class oneLevelSubject implements java.io.Serializable {

    private static final long serialVersionUID = 1L;
    private String id;

    private String title;

    private List<twoLevelSubject> children=new ArrayList<>();


    public oneLevelSubject(String id, String title) {
        this.id = id;
        this.title = title;
    }

    public oneLevelSubject() {

    }
}
